package aquactl;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import aquactl.views.InfoView;
import aquactl.views.TimerView;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);

		// layout.addStandaloneView(TimerView.ID, true, IPageLayout.LEFT, 1.0f,
		// editorArea);
		// layout.addStandaloneView(InfoView.ID, true, IPageLayout.RIGHT, 0.5f,
		// editorArea);

		IFolderLayout folder = layout.createFolder("Tables", IPageLayout.LEFT,
				1.0f, InfoView.ID);
		folder.addView(InfoView.ID);
		folder.addView(TimerView.ID);
	}

}
